package gentle.service;

import com.baomidou.mybatisplus.plugins.Page;
import gentle.entity.CustomerInfo;
import gentle.entity.SearchCustomerInfo;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.util.HashMap;
import java.util.List;

/**
 *
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface ICardDetailService {
    HashMap sumCardDetail(String reach,String customerStatus,String fieldTc,String modeName,String checkoutMethod,String startTime,String endTime,String outpatientName,String abbreviation);

    List<CustomerInfo> selectPageListByQueryGetMap(Page<CustomerInfo> page, SearchCustomerInfo info);

    int getQueryPagesCount(Page<CustomerInfo> page, SearchCustomerInfo info);

    List<CustomerInfo> selectPageDetailListByQueryGetMap(Page<CustomerInfo> page, SearchCustomerInfo info);

    int getQueryPagesDetailCount(Page<CustomerInfo> page, SearchCustomerInfo info);

    //储值明细导出1
    void cardDetailExport(@Valid SearchCustomerInfo searchInfo, HttpServletResponse response);
    //储值明细导出2
    void cardDetailExportTwo(@Valid SearchCustomerInfo searchInfo, HttpServletResponse response);

}